<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>666</title>
	<link rel="stylesheet" href="css/dcalendar.picker.css"/>
	<style>*{text-align:center;}</style>
</head>
<body>
	<h3>日期选择器</h3>
	<input id='mydatepicker' type='text'/>
	<h3>格式化日期</h3>
	<input id='mydatepicker2' type='text'/>		
	<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> 
	<script type="text/javascript" src="js/dcalendar.picker.js"></script>
	<script type="text/javascript">
		$('#mydatepicker').dcalendarpicker(); 
		$('#mydatepicker2').dcalendarpicker({
			format:'yyyy-mm-dd'
		}); 
		$('#mycalendar').dcalendar();
	</script>
</body>
</html>